package com.araaya.eslimsmobile.gps;

import android.location.Location;
import android.location.LocationListener;
import android.os.Bundle;

public class ListenLocation implements LocationListener {

	public static double latitude;
	public static double longitude;
	public static double altitude;
	public static double accuracy;
	
	@Override
	public void onLocationChanged(Location location) {
		
		latitude=location.getLatitude();
		longitude=location.getLongitude();
		altitude=location.getAltitude();
		accuracy=location.getAccuracy();
		
	}

	@Override
	public void onProviderDisabled(String provider) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void onProviderEnabled(String provider) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void onStatusChanged(String provider, int status, Bundle extras) {
		// TODO Auto-generated method stub
		
	}

}
